<!DOCTYPE html >
<html>
<head>
<script 
src = "http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
	$("button").click(function(){
		$("div").animate({
			height :'toggle'
		});
	});
});
</script>
<title>Insert title here</title>
</head>
<body>
<button>Start Animation</button>
<p>By default, all HTML elements have a static position, and can not be moved. 
To manipulate this position.
remember to fist set the CSS position property of the element to relative, fixed,
 or absolute!</p>
<div style = "background-color:#00ff00; height:100px; width:100px; 
position:relative;"></div>
</body>
</html>